package com.ibigcat.module.mdm.controller.admin.coderuleset.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 编码规则配置明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CodeRuleSetRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25008")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "编码规则主键", example = "3807")
    @ExcelProperty("编码规则主键")
    private Long codeRuleId;

    @Schema(description = "规则顺序号")
    @ExcelProperty("规则顺序号")
    private Long ruleOrder;

    @Schema(description = "规则", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规则")
    private String rule;

    @Schema(description = "规则值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规则值")
    private String ruleValue;

    @Schema(description = "顺序号位数")
    @ExcelProperty("顺序号位数")
    private Long orderNumDigit;

    @Schema(description = "顺序号初始值")
    @ExcelProperty("顺序号初始值")
    private Long orderNumInitial;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}